ElasticPress\Feature\RelatedPosts\RelatedPosts S

Total Complexity 23
Dependencies 3
Dependents 1
Total lines 270
Lines of code 122
Logical lines of code 52
Comment lines 115
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
formatted_args()
A
48 9 32
render_block()
S
51 4 27
register_block()
S
58 1 16
find_related()
S
68 2 7
__construct()
S
66 1 8
get_related_query()
S
65 1 9
setup()
S
67 1 7
setup_endpoint()
S
76 1 4
register_widget()
S
80 1 3
hide_legacy_widget()
S
77 1 4
output_feature_box_long()
S
74 1 5